sendmail: fix build on hosts with Berkley DB installed
authorAleksey Vasilenko <[email protected]>
Tue, 23 Sep 2025 05:41:56 +0000 (08:41 +0300)
committerWesley Gimenes <[email protected]>
Wed, 24 Sep 2025 04:11:42 +0000 (01:11 -0300)
commitd84ce3454aa0453e1462d99e1cd98a46820c707b
tree883da5d92e661820da247d990e932704c31f5d0f
parentf03521b198bdb4cfc3a3dfb926151484e0d1d990
sendmail: fix build on hosts with Berkley DB installed

Buildbot caught an error:
  "Berkeley DB file locking needs flock() for version 5.x (and greater?)"

It is caused by leakage of host-installed Berkley DB into the build.
Since libmilter is not using the DB and because of convoluted build
process of sendmail, we do the workaround  - define a macro which
prevents the error without affecting libmilter binary.

Also change source URL from FTP to HTTPS.

Signed-off-by: Aleksey Vasilenko <[email protected]>
mail/sendmail/Makefile
mail/sendmail/files/site.OpenWrt.m4